<template>
	<view class="container">
		<form @submit="submitForm" class="form">
			<!-- 个人信息 -->
			<view class="infoBox">
				<!-- 姓名 -->
				<view class="formItem1">
					<text>{{ app.language.name }}:</text>
					<view class="formB">
						{{form.name}}
					</view>
				</view>
				<!-- 公民身份证号 -->
				<view class="formItem1">
					<text>{{ app.language.card }}:</text>
					<view class="formB">
						{{form.card}}
					</view>
				</view>
				<!-- 联系电话 -->
				<view class="formItem1">
					<text>{{ app.language.phone }}:</text>
					<view class="formB">
						{{form.phone}}
					</view>
				</view>
				<!-- 办理事项 -->
				<view class="formItem1">
					<text>{{ app.language.blsx }}:</text>
					<view class="formB">
						{{name}}
					</view>
				</view>
				<!-- 户籍属性 -->
				<view class="formItem1">
					<text><text class="bt">*</text>{{ app.language.hjsx }}:</text>
					<view class="formB">
						<picker mode="selector" name="hjsx" :range="hjsxList" @change="onChangeHjsx">
							<view class="picker">
								{{selectedHjsxValue}}
							</view>
						</picker>
					</view>
				</view>
				<!-- 户籍所在派出所 -->
				<view class="formItem1">
					<text><text class="bt">*</text>{{ app.language.sldw }}:</text>
					<view class="formB">
						<picker mode="selector" name="pcs" :range="list" @change="onChange">
							<view class="picker">
								{{selectedValue}}
							</view>
						</picker>
					</view>
				</view>
			</view>

			<!-- 凭死亡医学推断书（死亡证明）注销户口 -->
			<view class="infoBox1" v-if="id=='0'">
				<!-- 死亡人员的居民户口簿 -->
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.swryjmhkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(1)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="hkbImg.length>0">
						<view class="del" @click="delImg(hkbImg,1)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in hkbImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
				</view>
				<!-- 居民身份证正面 -->
				<!-- <view class="formItem">
						<text>{{ app.language.jmcarz }}:</text>
						<view class="hjbImg">
							<button type="default" @click="chooseImg(2)">{{ app.language.scimg }}</button>
						</view>
						<image class="scimage" :src="item" v-for="(item,index) in jmcarz" :key='index' @click="previewImg(item)"></image>
				</view>
				<view class="formItem">
					<text>{{ app.language.jmcarf }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(3)">{{ app.language.scimg }}</button>
					</view>
					<image class="scimage" :src="item" v-for="(item,index) in jmcarf" :key='index' @click="previewImg(item)"></image>
				</view> -->
				<!-- 医疗机构出具的《死亡证明（推断）书或公安、司法部门出具的非正常死亡证明或法院出具的宣告死亡生效判决书 -->
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.swtds }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(2)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="swtdsImg.length>0">
						<view class="del" @click="delImg(swtdsImg,2)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in swtdsImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in swtdsImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<!-- 公民正常死亡但无法取得医院出具的死亡证明的，出具其他能够证明死亡的材料 -->
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.qtswcl }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(3)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="qtswclImg.length>0">
						<view class="del" @click="delImg(qtswclImg,3)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in qtswclImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in qtswclImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>

			<!-- 参军服役人员户口注销 -->
			<view class="infoBox1" v-if="id=='1'">
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.rwtzsText }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(4)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="rwtzsImg.length>0">
						<view class="del" @click="delImg(rwtzsImg,4)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in rwtzsImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in rwtzsImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.jmhkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(5)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="jmhkbImg.length>0">
						<view class="del" @click="delImg(jmhkbImg,5)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in jmhkbImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in jmhkbImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.sfzzfm }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(6)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="sfzzfmImg.length>0">
						<view class="del" @click="delImg(sfzzfmImg,6)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in sfzzfmImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in sfzzfmImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text>{{ app.language.rwzsb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(7)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="rwzsbImg.length>0">
						<view class="del" @click="delImg(rwzsbImg,7)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in rwzsbImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in rwzsbImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>

			<!-- 出生登记 -->
			<view class="infoBox1" v-if="id=='2'">
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.csdj_cszm }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(8)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="cszmImg.length>0">
						<view class="del" @click="delImg(cszmImg,8)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in cszmImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in cszmImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.csdj_jhz }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(9)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="jhzImg.length>0">
						<view class="del" @click="delImg(jhzImg,9)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in jhzImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in jhzImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.csdj_fmhkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(10)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="fmhkbImg.length>0">
						<view class="del" @click="delImg(fmhkbImg,10)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in fmhkbImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in fmhkbImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.csdj_hyd }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(11)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="hydImg.length>0">
						<view class="del" @click="delImg(hydImg,11)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in hydImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in hydImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>

			<!-- 7周岁以上人口办理出生户口登记 -->
			<view class="infoBox1" v-if="id=='3'">
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.qzs_jhz }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(12)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="jhzImg.length>0">
						<view class="del" @click="delImg(jhzImg,12)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in jhzImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in jhzImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.qzs_yxzm }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(13)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="yxzmImg.length>0">
						<view class="del" @click="delImg(yxzmImg,13)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in yxzmImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in yxzmImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.qzs_lhry }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(14)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="lhryImg.length>0">
						<view class="del" @click="delImg(lhryImg,14)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in lhryImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in lhryImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.csdj_fmhkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(15)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="QfmhkbImg.length>0">
						<view class="del" @click="delImg(QfmhkbImg,15)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in QfmhkbImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in QfmhkbImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.qzs_qzjd }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(16)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="qzjdImg.length>0">
						<view class="del" @click="delImg(qzjdImg,16)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in qzjdImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in qzjdImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>

			<!-- 历史遗留未办理登记的事实收养登记户口 -->
			<view class="infoBox1" v-if="id=='4'">
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.lsyl_csyxzm }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(17)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="LscsyxzmImg.length>0">
						<view class="del" @click="delImg(LscsyxzmImg,17)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in LscsyxzmImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in LscsyxzmImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.lsyl_hkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(18)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="LshkbImg.length>0">
						<view class="del" @click="delImg(LshkbImg,18)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in LshkbImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in LshkbImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.lsyl_hyd }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(19)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="LshydImg.length>0">
						<view class="del" @click="delImg(LshydImg,19)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in LshydImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in LshydImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.lsyl_qzjd }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(20)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="LsqzjdImg.length>0">
						<view class="del" @click="delImg(LsqzjdImg,20)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in LsqzjdImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in LsqzjdImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>

			<!-- 户口登记项目非主项变更（文化程度） -->
			<view class="infoBox1" v-if="id=='5'">
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.lsyl_hkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(21)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="whcdHkbImg.length>0">
						<view class="del" @click="delImg(whcdHkbImg,21)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in whcdHkbImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in whcdHkbImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.xgclzm }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(22)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="xgclzmImg.length>0">
						<view class="del" @click="delImg(xgclzmImg,22)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in xgclzmImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in xgclzmImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>

			<!-- 户口登记项目非主项变更（婚姻状况） -->
			<view class="infoBox1" v-if="id=='6'">
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.lsyl_hkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(23)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="hkHyxkImg.length>0">
						<view class="del" @click="delImg(hkHyxkImg,23)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in hkHyxkImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in hkHyxkImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.jhzHlhz }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(24)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="jhzHlhzImg.length>0">
						<view class="del" @click="delImg(jhzHlhzImg,24)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in jhzHlhzImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in jhzHlhzImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>

			<!-- 户口登记项目主项变更（姓名） -->
			<view class="infoBox1" v-if="id=='7'">
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.lsyl_hkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(25)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="zxbgImg.length>0">
						<view class="del" @click="delImg(zxbgImg,25)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in zxbgImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in zxbgImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.sfzzfm }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(26)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="jmsfzImg.length>0">
						<view class="del" @click="delImg(jmsfzImg,26)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in jmsfzImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in jmsfzImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>

			<!-- 投靠子女 -->
			<view class="infoBox1" v-if="id=='8'">
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.tkzn_hkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(27)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="tkznHkbImg.length>0">
						<view class="del" @click="delImg(tkznHkbImg,27)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in tkznHkbImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in tkznHkbImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.tkzn_gxzm }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(28)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="tkznGxzmImg.length>0">
						<view class="del" @click="delImg(tkznGxzmImg,28)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in tkznGxzmImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in tkznGxzmImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>

			<!-- 成年子女投靠父母 -->
			<view class="infoBox1" v-if="id=='9'">
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.cnTkzn_gxzm }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(29)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="cnTkznGxzmImg.length>0">
						<view class="del" @click="delImg(cnTkznGxzmImg,29)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in cnTkznGxzmImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in cnTkznGxzmImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.cnTkzn_jmhkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(30)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="cnTkznJmhkbImg.length>0">
						<view class="del" @click="delImg(cnTkznJmhkbImg,30)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in cnTkznJmhkbImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in cnTkznJmhkbImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.cnTkzn_jhz }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(31)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="cnTkznJhzImg.length>0">
						<view class="del" @click="delImg(cnTkznJhzImg,31)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in cnTkznJhzImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in cnTkznJhzImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.cnTkzn_qt }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(32)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="cnTkznQtImg.length>0">
						<view class="del" @click="delImg(cnTkznQtImg,32)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in cnTkznQtImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in cnTkznQtImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>

			<!-- 投靠配偶 -->
			<view class="infoBox1" v-if="id=='10'">
				<h2 class="title">所需材料：</h2>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.tkzn_hkb }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(33)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="tkpoHkbImg.length>0">
						<view class="del" @click="delImg(tkpoHkbImg,33)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in tkpoHkbImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in tkpoHkbImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
				<view class="formItem">
					<text><text class="bt">*</text>{{ app.language.tkpo_jhz }}:</text>
					<view class="hjbImg">
						<button type="default" @click="chooseImg(34)">{{ app.language.scimg }}</button>
					</view>
					<view class="scimageBox" v-if="tkpoJhzImg.length>0">
						<view class="del" @click="delImg(tkpoJhzImg,34)">
							<image class="delImg" src="/static/dels.png"></image>
						</view>
						<image class="scimage" :src="imgUrl+item" v-for="(item,index) in tkpoJhzImg" :key='index'
							@click="previewImg(item)"></image>
					</view>
					<!-- <image class="scimage" :src="item" v-for="(item,index) in tkpoJhzImg" :key='index' @click="previewImg(item)"></image> -->
				</view>
			</view>
			<button @click="getAdd" class="submit">提交</button>
		</form>
	</view>
</template>

<script>
	import graceChecker from "../../components/graceChecker.js"
	import {
		getPcsList,
		getHjsx,
		getBlsx
	} from '@/api/api.js'
	import {
		getAddAppointmentReview
	} from '@/api/domicile.js'
	import config from '@/config'
	const global = getApp().globalData;
	export default {
		data() {
			return {
				imgUrl:config.baseUrl,
				app: {
					global: global,
					name: global.appName,
					language: global.language
				},
				name: "",
				form: {
					name: "李会会",
					card: "620524199712201463",
					phone: "",
					chooseImags: [],
				},
				token: "",
				id: "",
				name: "",
				imgId: "",
				// 派出所
				list: [],
				pcsList: [],
				selectedValue: '',
				// 户籍属性
				hjsxList: [],
				Hjxslists: [],
				// 派出所
				selectedHjsxValue: '',
				// 死亡人员的居民户口簿
				hkbImg: [],
				// 居民身份证正面
				jmcarz: [],
				// 居民身份证反面
				jmcarf: [],
				srcImg: [],
				swtdsImg: [],
				qtswclImg: [],
				rwtzsImg: [],
				jmhkbImg: [],
				sfzzfmImg: [],
				rwzsbImg: [],
				// 出生登记图片组
				cszmImg: [],
				jhzImg: [],
				fmhkbImg: [],
				hydImg: [],
				// 七周岁以上人口办理出生户口登记
				jhzImg: [],
				yxzmImg: [],
				lhryImg: [],
				QfmhkbImg: [],
				qzjdImg: [],
				// 历史遗留未办理登记的事实收养登记户口
				LscsyxzmImg: [],
				LshkbImg: [],
				LshydImg: [],
				LsqzjdImg: [],
				// 户口登记项目非主项变更（文化程度）
				whcdHkbImg: [],
				xgclzmImg: [],
				// 户口登记项目非主项变更（婚姻状况）
				hkHyxkImg: [],
				jhzHlhzImg: [],
				// 户口登记项目主项变更（姓名）
				zxbgImg: [],
				jmsfzImg: [],
				// 投靠子女
				tkznHkbImg: [],
				tkznGxzmImg: [],
				// 成年子女投靠父母
				cnTkznGxzmImg: [],
				cnTkznJmhkbImg: [],
				cnTkznJhzImg: [],
				cnTkznQtImg: [],
				// 投靠配偶
				tkpoHkbImg: [],
				tkpoJhzImg: [],
				blsxList: [],
				blsxLists: [],
				userInfo: {}
			}
		},
		onLoad(options) {
			this.selectedValue = this.app.language.qxz
			this.selectedHjsxValue = this.app.language.qxz
			this.id = options.id
			this.form.handlingMatters = options.id
			this.getToken();
			this.getPcs();
			this.getHuji();
			this.getblsx()
		},
		methods: {
			// 获取缓存
			getToken() {
				let that = this
				uni.getStorage({
					key: 'loginData',
					success: function(res) {
						if (res.data.userInfo.appToken) {
							that.form.reportType = res.data.userInfo.peopleType
							that.token = res.data.userInfo.appToken
							that.userInfo = res.data.userInfo
							that.form.phone = that.userInfo.phonenumber
						} else {
							uni.navigateTo({
								url: '../login/login',
							});
						}
					}
				});
			},

			// 获取派出所列表
			getPcs() {
				let data = {
					"": ""
				}
				getPcsList(data).then((res) => {
					this.pcsList = res.data
					if (res.code == 200) {
						for (let i = 0; i < res.data.length; i++) {
							this.list.push(res.data[i].deptName);
						}
					}
				})
			},

			// 获取户籍属性
			getHuji() {
				let data = {
					"": ""
				}
				getHjsx(data).then((res) => {
					if (res.code == 200) {
						this.Hjxslists = res.rows
						for (let i = 0; i < res.rows.length; i++) {
							this.hjsxList.push(res.rows[i].dictLabel);
						}
					}
				})
			},

			// 获取办理事项
			getblsx() {
				uni.showLoading({
					title: this.app.language.jzz,
				});
				let data = {
					"": ""
				}
				getBlsx(data).then((res) => {
					if (res.code == 200) {
						uni.hideLoading();
						this.blsxLists = res.rows
						this.name = res.rows[this.id].dictLabel
						console.log('this.name', this.name)
					}
				})
			},

			// 死亡人员的居民户口簿
			chooseImg(item) {
				this.imgId = item
				uni.chooseImage({
					count: 5,
					success: (res) => {
						this.srcImg = res.tempFilePaths

						let tempFilePaths = res.tempFilePaths;
						// this.tempFilePathList = res.tempFilePaths;
						let base64List = this.form.chooseImags;
						// 图片路径转换成base64格式
						tempFilePaths.forEach((item, index) => {
							uni.getFileSystemManager().readFile({
								filePath: item, // 图片文件路径
								encoding: 'base64', // 编码格式为base64
								success: res => { // 成功回调
									let base64 = 'data:image/jpeg;base64,' + res
										.data; // 拼接data URI
									base64List.push(base64);
									if (base64List.length === tempFilePaths.length) {
										this.form.chooseImags = base64List;
									}
								},
								fail: err => {
									console.error('读取文件失败', err);
								}
							});
						});

						// 上传图片并返回路径
						let imgList = [];
						// 上传前显示加载中
						uni.showLoading({
							title: this.app.language.jzz,
						});
						tempFilePaths.forEach((tempFilePaths) => {
							const uploadTask = uni.uploadFile({
								url: 'https://mqzhian.cn:8088/common/upload', // 你的ThinkPHP服务器地址
								filePath: tempFilePaths,
								name: 'file', // 这里根据服务器接收的字段来定义
								success: (uploadFileRes) => {
									const data = JSON.parse(uploadFileRes.data);
									console.log('上传成功', data);
									// 上传成功后隐藏加载中
									uni.hideLoading();
									// 这里处理返回的图片路径，例如保存到数组中
									imgList.push(data.fileName);
									if (item == 1) {
										this.hkbImg = imgList
										this.form.aResidenceBooklet = imgList.join(',')
									} else if (item == 2) {
										this.swtdsImg = imgList
										this.form.aDeathCertificate = imgList.join(',')
									} else if (item == 3) {
										this.qtswclImg = imgList
										this.form.aOtherDeathcertificate = imgList.join(
											',')
									} else if (item == 4) {
										this.rwtzsImg = imgList
										this.form.bEnlistmentNotice = imgList.join(',')
									} else if (item == 5) {
										this.jmhkbImg = imgList
										this.form.bResidenceBooklet = imgList.join(',')
									} else if (item == 6) {
										this.sfzzfmImg = imgList
										this.form.bIdCard = imgList.join(',')
									} else if (item == 7) {
										this.rwzsbImg = imgList
										this.form.bPoliticalReview = imgList.join(',')
									} else if (item == 8) {
										this.cszmImg = imgList
										this.form.cBirthCertificate = imgList.join(',')
									} else if (item == 9) {
										this.jhzImg = imgList
										this.form.cMarriageCertificate = imgList.join(',')
									} else if (item == 10) {
										this.fmhkbImg = imgList
										this.form.cResidenceBooklet = imgList.join(',')
									} else if (item == 11) {
										this.hydImg = imgList
										this.form.cBloodReport = imgList.join(',')
									} else if (item == 12) {
										this.jhzImg = imgList
										this.form.dMarriageCertificate = imgList.join(',')
									} else if (item == 13) {
										this.yxzmImg = imgList
										this.form.dBirthCertificate = imgList.join(',')
									} else if (item == 14) {
										this.lhryImg = imgList
										this.form.dBloodReport = imgList.join(',')
									} else if (item == 15) {
										this.QfmhkbImg = imgList
										this.form.dResidenceBooklet = imgList.join(',')
									} else if (item == 16) {
										this.qzjdImg = imgList
										this.form.dChildCertificate = imgList.join(',')
									} else if (item == 17) {
										this.LscsyxzmImg = imgList
										this.form.eBirthCertificate = imgList.join(',')
									} else if (item == 18) {
										this.LshkbImg = imgList
										this.form.eResidenceBooklet = imgList.join(',')
									} else if (item == 19) {
										this.LshydImg = imgList
										this.form.eBloodReport = imgList.join(',')
									} else if (item == 20) {
										this.LsqzjdImg = imgList
										this.form.eChildCertificate = imgList.join(',')
									} else if (item == 21) {
										this.whcdHkbImg = imgList
										this.form.fResidenceBooklet = imgList.join(',')
									} else if (item == 22) {
										this.xgclzmImg = imgList
										this.form.fEvidence = imgList.join(',')
									} else if (item == 23) {
										this.hkHyxkImg = imgList
										this.form.gResidenceBooklet = imgList.join(',')
									} else if (item == 24) {
										this.jhzHlhzImg = imgList
										this.form.gMarriageCertificate = imgList.join(',')
									} else if (item == 25) {
										this.zxbgImg = imgList
										this.form.hResidenceBooklet = imgList.join(',')
									} else if (item == 26) {
										this.jmsfzImg = imgList
										this.form.hIdCard = imgList.join(',')
									} else if (item == 27) {
										this.tkznHkbImg = imgList
										this.form.iResidenceBooklet = imgList.join(',')
									} else if (item == 28) {
										this.tkznGxzmImg = imgList
										this.form.iRelationship = imgList.join(',')
									} else if (item == 29) {
										this.cnTkznGxzmImg = imgList
										this.form.jParentRelationship = imgList.join(',')
									} else if (item == 30) {
										this.cnTkznJmhkbImg = imgList
										this.form.jResidenceBooklet = imgList.join(',')
									} else if (item == 31) {
										this.cnTkznJhzImg = imgList
										this.form.jMarriageCertificate = imgList.join(',')
									} else if (item == 32) {
										this.cnTkznQtImg = imgList
										this.form.jRelationship = imgList.join(',')
									} else if (item == 33) {
										this.tkpoHkbImg = imgList
										this.form.kResidenceBooklet = imgList.join(',')
									} else if (item == 34) {
										this.tkpoJhzImg = imgList
										this.form.kMarriageCertificate = imgList.join(',')
									}
								},
								fail: (error) => {
									console.error('上传失败', error);
									uni.showToast({
										title: '上传失败',
										icon: 'none',
									});
								}
							});
						});
					}
				})
			},

			// 预览图片
			previewImg(current) {
				uni.previewImage({
					current,
					urls: this.srcImg,
					// 图片指示器样式: 小圆点
					indicator: 'default',
					// 循环预览
					loop: true
				})
			},

			// 删除图片
			delImg(list, id) {
				console.log('id', id)
				console.log('list', list)
				uni.showModal({
					title: this.app.language.titDel, // 弹框标题
					content: this.app.language.delBtn, // 弹框内容
					cancelText: this.app.language.popCancelText, // 取消按钮文本
					confirmText: this.app.language.popConfirmText, // 确认按钮文本
					success: (res) => {
						if (res.confirm) {
							// 用户点击了“确定”按钮
							if (id == 1) {
								this.hkbImg = []
							} else if (id == 2) {
								this.swtdsImg = []
							} else if (id == 3) {
								this.qtswclImg = []
							} else if (id == 4) {
								this.rwtzsImg = []
							} else if (id == 5) {
								this.jmhkbImg = []
							} else if (id == 6) {
								this.sfzzfmImg = []
							} else if (id == 7) {
								this.rwzsbImg = []
							} else if (id == 8) {
								this.cszmImg = []
							} else if (id == 9) {
								this.jhzImg = []
							} else if (id == 10) {
								this.fmhkbImg = []
							} else if (id == 11) {
								this.hydImg = []
							} else if (id == 12) {
								this.jhzImg = []
							} else if (id == 13) {
								this.yxzmImg = []
							} else if (id == 14) {
								this.lhryImg = []
							} else if (id == 15) {
								this.QfmhkbImg = []
							} else if (id == 16) {
								this.qzjdImg = []
							} else if (id == 17) {
								this.LscsyxzmImg = []
							} else if (id == 18) {
								this.LshkbImg = []
							} else if (id == 19) {
								this.LshydImg = []
							} else if (id == 20) {
								this.LsqzjdImg = []
							} else if (id == 21) {
								this.whcdHkbImg = []
							} else if (id == 22) {
								this.xgclzmImg = []
							} else if (id == 23) {
								this.hkHyxkImg = []
							} else if (id == 24) {
								this.jhzHlhzImg = []
							} else if (id == 25) {
								this.zxbgImg = []
							} else if (id == 26) {
								this.jmsfzImg = []
							} else if (id == 27) {
								this.tkznHkbImg = []
							} else if (id == 28) {
								this.tkznGxzmImg = []
							} else if (id == 29) {
								this.cnTkznGxzmImg = []
							} else if (id == 30) {
								this.cnTkznJmhkbImg = []
							} else if (id == 31) {
								this.cnTkznJhzImg = []
							} else if (id == 32) {
								this.cnTkznQtImg = []
							} else if (id == 33) {
								this.tkpoHkbImg = []
							} else if (id == 34) {
								this.tkpoJhzImg = []
							}
						} else if (res.cancel) {
							// 用户点击了“取消”按钮，或者关闭了弹框
							console.log('用户取消删除');
						}
					}
				});
			},

			// 选择派出所
			onChange(e) {
				this.selectedValue = this.list[e.detail.value];
				this.form.policeStation = this.pcsList[e.detail.value].deptId;
			},

			// 选择户籍属性
			onChangeHjsx(e) {
				this.selectedHjsxValue = this.Hjxslists[e.detail.value].dictLabel;
				this.form.domicileType = this.Hjxslists[e.detail.value].dictValue;
			},

			// 提交
			getAdd() {
				console.log('this.id', this.id)
				if (!this.selectedHjsxValue || this.selectedHjsxValue === this.app.language.qxz) {
					uni.showToast({
						title: this.app.language.hjsxTx,
						icon: 'none',
					});
					return
				}

				if (!this.selectedValue || this.selectedValue === this.app.language.qxz) {
					uni.showToast({
						title: this.app.language.hjpcsTx,
						icon: 'none',
					});
					return
				}
				// if(!this.id){
				// 	uni.showToast({
				// 		title: this.app.language.wszlTx,
				// 		icon: 'none',
				// 	});
				// 	return
				// }
				if (this.id == 0) {
					if (this.hkbImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}

					if (this.swtdsImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}

					if (this.qtswclImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}

				if (this.id == 1) {
					if (this.rwtzsImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.jmhkbImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.sfzzfmImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.rwzsbImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}

				if (this.id == 2) {
					if (this.cszmImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.jhzImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.fmhkbImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.hydImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}

				if (this.id == 3) {
					if (this.jhzImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.yxzmImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.lhryImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.QfmhkbImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.qzjdImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}

				if (this.id == 4) {
					if (this.LscsyxzmImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.LshkbImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.LshydImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.LsqzjdImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}

				if (this.id == 5) {
					if (this.whcdHkbImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.xgclzmImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}

				if (this.id == 6) {
					if (this.hkHyxkImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.jhzHlhzImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}

				if (this.id == 7) {
					if (this.zxbgImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.jmsfzImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}

				if (this.id == 8) {
					if (this.tkznHkbImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.tkznGxzmImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}

				if (this.id == 9) {
					if (this.cnTkznGxzmImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.cnTkznJmhkbImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.cnTkznJhzImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.cnTkznQtImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}

				if (this.id == 10) {
					if (this.tkpoHkbImg.length == 0) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
					if (this.tkpoJhzImg.length == 10) {
						uni.showToast({
							title: this.app.language.wszlTx,
							icon: 'none',
						});
						return
					}
				}
				uni.showLoading({
					title: this.app.language.jzz,
				});
				this.form.appToken = this.token
				console.log('this.form', this.form)
				getAddAppointmentReview(this.form).then((res) => {
					if (res.code == 200) {
						uni.hideLoading();
						uni.showToast({
							title: this.app.language.qddsh,
							icon: 'success',
						});
						setTimeout(() => {
							console.log('跳转首页')
							uni.reLaunch({
								url: '/pages/bmfw/domicile'
							});
						}, 1000);
					}
				})
			}
		}
	}
</script>

<style>
	.container {
		padding: 20rpx;
	}

	.form {
		box-shadow: 1px 1px 10rpx #ddd;
		/* display: block; */
		width: 100%;
		padding-bottom: 20rpx;
	}

	.formItem {
		margin: 10rpx 0;
		padding: 10rpx;
		/* height: 162rpx; */
		position: relative;
		border-bottom: 1px dashed #ddd
	}

	.infoBox {
		border: 1px solid #ddd;
		padding: 0 20rpx;
		box-shadow: 1px 1px 10rpx #ddd;
	}

	.infoBox1 {
		border: 1px solid #ddd;
		margin-top: 20rpx;
		padding: 0 15rpx;
		box-shadow: 1px 1px 10rpx #ddd;
	}

	.formItem1 {
		margin: 10rpx 0;
		padding: 10rpx;
		/* height: 162rpx; */
		position: relative;
		border-bottom: 1px dashed #ddd
	}

	.formB {
		/* background-color: #f3f3f3; */
		font-size: 24rpx;
		padding: 10rpx;
		margin-top: 10rpx;
		position: absolute;
		right: 10rpx;
		top: -2rpx;
		color: #808080;
		text-align: right;
	}

	.formItem text,
	.formItem1 text {
		font-size: 26rpx;
	}

	.hjbImg button {
		font-size: 22rpx;
		width: 149rpx;
		height: 56rpx;
		background: #2f8ef9;
		color: #fff;
	}

	.hjbImg {
		/* position: absolute;
		bottom: 10rpx; */
		width: 150rpx;
		margin-top: 20rpx;
	}

	.scimageBox {
		display: inline-block;
		width: 100%;
		height: 100rpx;
		position: relative;
		/* text-align: center; */
	}

	.scimage {
		width: 121rpx;
		height: 80rpx;
		margin-right: 10rpx;
		margin-top: 5px;
		border-radius: 5rpx;
	}

	.title {
		margin-top: 30rpx;
		font-weight: bold;
		font-size: 28rpx;
	}

	.submit {
		background-color: #2f8ef9;
		color: #fff;
		font-size: 28rpx;
		width: 95%;
		margin: 20rpx auto 0;
	}

	.picker {
		width: 260rpx;
		color: #808080;
	}

	.bt {
		color: red;
		margin-right: 5rpx;
	}

	.del {
		color: red;
		font-size: 26rpx;
		text-align: right;
		width: 50rpx;
		height: 50rpx;
		position: absolute;
		right: 0;
		top: -43rpx;
	}

	.delImg {
		width: 50rpx;
		height: 50rpx;
	}
</style>